#pragma once
#include "Element.h"

class CRectangle :
	public CElement
{
public:
	virtual ~CRectangle();
	virtual void Draw(CDC *pDC,std::shared_ptr<CElement> pElement=nullptr) override;

	//constructor for a rectangle object
	CRectangle(const CPoint &start, const CPoint &end, COLORREF color,int aPenStyle);
protected:
	CRectangle();
	CPoint m_BottomRight;
public:
	void Move(const CSize& aSize) override;
};

